Add some missing deprecation annotations
authorMatthias Clasen <mclasen@redhat.com>
Tue, 13 Aug 2013 22:09:47 +0000 (18:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 13 Aug 2013 22:09:47 +0000 (18:09 -0400)
These were reported missing in bug
https://bugzilla.gnome.org/show_bug.cgi?id=705672

gtk/gtkcombobox.h
gtk/gtkmenu.c
gtk/gtkmenu.h

index cf05b83b56fb713927d0d43244f1be4386723067..c3c89196a601525d33e8d91d7fbcc5c853d125ad 100644 (file)
@@ -96,15 +96,15 @@ GDK_AVAILABLE_IN_ALL
 void          gtk_combo_box_set_column_span_column (GtkComboBox *combo_box,
                                                     gint         column_span);
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
 gboolean      gtk_combo_box_get_add_tearoffs       (GtkComboBox *combo_box);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
 void          gtk_combo_box_set_add_tearoffs       (GtkComboBox *combo_box,
                                                     gboolean     add_tearoffs);
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
 const gchar * gtk_combo_box_get_title              (GtkComboBox *combo_box);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
 void          gtk_combo_box_set_title              (GtkComboBox *combo_box,
                                                     const gchar *title);
 
index d0c757ff8157386ebb4c8cb14a10672d4f33211b..e0e58b703b50fa1d8b976256e64347f3a4d493eb 100644 (file)
@@ -620,7 +620,7 @@ gtk_menu_class_init (GtkMenuClass *class)
                                                         P_("Tearoff Title"),
                                                         P_("A title that may be displayed by the window manager when this menu is torn-off"),
                                                         NULL,
-                                                        GTK_PARAM_READWRITE));
+                                                        GTK_PARAM_READWRITE | G_PARAM_DEPRECATED));
 
   /**
    * GtkMenu:tearoff-state:
@@ -637,7 +637,7 @@ gtk_menu_class_init (GtkMenuClass *class)
                                                          P_("Tearoff State"),
                                                          P_("A boolean that indicates whether the menu is torn-off"),
                                                          FALSE,
-                                                         GTK_PARAM_READWRITE));
+                                                         GTK_PARAM_READWRITE | G_PARAM_DEPRECATED));
 
   /**
    * GtkMenu:monitor:
index 339717f0f854fa8d1079d4f568c2985f7d48765f..bf57cf7f2d6f6e0ffb857b84de4e231b6451ea4d 100644 (file)
@@ -190,19 +190,19 @@ void         gtk_menu_detach                (GtkMenu             *menu);
 GDK_AVAILABLE_IN_ALL
 GtkWidget* gtk_menu_get_attach_widget    (GtkMenu             *menu);
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
 void       gtk_menu_set_tearoff_state     (GtkMenu             *menu,
-                                          gboolean             torn_off);
-GDK_AVAILABLE_IN_ALL
+                                           gboolean             torn_off);
+GDK_DEPRECATED_IN_3_10
 gboolean   gtk_menu_get_tearoff_state     (GtkMenu             *menu);
 
 /* This sets the window manager title for the window that
  * appears when a menu is torn off
  */
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
 void          gtk_menu_set_title          (GtkMenu             *menu,
                                            const gchar         *title);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_10
 const gchar * gtk_menu_get_title          (GtkMenu             *menu);
 
 GDK_AVAILABLE_IN_ALL